package edu.zqu.collegeField;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author 吴典秋
 * @Date 2020/5/21 22:01
 * @Description:
 * @Version 1.0
 */
@MapperScan("edu.zqu.collegeField.project.mapper")
@EnableTransactionManagement
@EnableSwaggerBootstrapUI
@EnableSwagger2
@SpringBootApplication
@EnableFeignClients(basePackages = {"edu.zqu.collegeField.framework.openfeign.api"})
public class CollegeFieldApplication {
    public static void main(String[] args) {
        SpringApplication.run(CollegeFieldApplication.class);
    }
}
